package com.example.demo.factoryMode.factoryMethod;

public class BaoMa implements Car{
    @Override
    public void name() {
        System.err.println("宝马");
    }
}
